<!DOCTYPE html>
<meta charset=utf-8>
<body>
  <div>
    The permission element should either be display 'none' or 'inline-block'
  </div>

<style>
  #id1 {
    display: inline-block;
  }
</style>

<permission id="id1" type="geolocation">
<span>After element</span>
</body>